package com.gjy.sb.controller;

import com.gjy.sb.annotation.CustomAnnotation;
import com.gjy.sb.domain.AjaxResult;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author gjy
 * @version 1.0
 * @since 2025-01-02 19:42:58
 */
@RequestMapping("/annotation")
@RestController
public class AnnotationController {

    @RequestMapping("/t1")
    @CustomAnnotation(value = "Hello")
    public AjaxResult t1() {
        return AjaxResult.builder().data("OK").build();
    }
}
